<?php /* Smarty version 2.6.20, created on 2016-07-23 14:03:30
         compiled from ./ajax/context_menu_suppliers.php */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'suppliers', './ajax/context_menu_suppliers.php', 1, false),array('modifier', 'replace', './ajax/context_menu_suppliers.php', 2, false),array('modifier', 'escape', './ajax/context_menu_suppliers.php', 2, false),)), $this); ?>
<?php $this->_tag_stack[] = array('suppliers', array('limit' => 10,'pager' => 'pager','page' => $_POST['page'],'keywords' => $_GET['keywords'],'shopid' => $_GET['shopid'])); $_block_repeat=true;smarty_block_suppliers($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
<div><a href="javascript:;" onclick="context_menu_filldata('<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$_GET['datas'])) ? $this->_run_mod_handler('replace', true, $_tmp, '[id]', $this->_tpl_vars['suppliers']['id']) : smarty_modifier_replace($_tmp, '[id]', $this->_tpl_vars['suppliers']['id'])))) ? $this->_run_mod_handler('replace', true, $_tmp, '[title]', $this->_tpl_vars['suppliers']['title']) : smarty_modifier_replace($_tmp, '[title]', $this->_tpl_vars['suppliers']['title'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'quotes') : smarty_modifier_escape($_tmp, 'quotes')); ?>
');"
 class="menuas"><?php echo $this->_tpl_vars['suppliers']['id']; ?>
. <?php echo $this->_tpl_vars['suppliers']['title']; ?>
</a></div>
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_suppliers($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
<?php if ($this->_tpl_vars['pager']->rows > 0): ?>
<div id="pager">
<?php if ($this->_tpl_vars['pager']): ?> 第<?php echo $this->_tpl_vars['pager']->pagecurrent; ?>
/<?php echo $this->_tpl_vars['pager']->pages; ?>
页 <?php endif; ?> 		
<?php if ($this->_tpl_vars['pager']->current > 1): ?><a name="pagelink" href="javascript:;" onclick="context_menu_page(1)">首页</a> <?php endif; ?>
<?php if ($this->_tpl_vars['pager']->current > 1): ?><a name="pagelink" href="javascript:;" onclick="context_menu_page(<?php echo $this->_tpl_vars['pager']->current-1; ?>
)">上页</a> <?php endif; ?>
<?php if ($this->_tpl_vars['pager']->current < $this->_tpl_vars['pager']->pages): ?><a name="pagelink" href="javascript:;" onclick="context_menu_page(<?php echo $this->_tpl_vars['pager']->current+1; ?>
)">下页</a> <?php endif; ?>
<?php if ($this->_tpl_vars['pager']->current < $this->_tpl_vars['pager']->pages): ?><a name="pagelink" href="javascript:;" onclick="context_menu_page(<?php echo $this->_tpl_vars['pager']->pages; ?>
)">尾页</a> <?php endif; ?>
</div>

<?php echo '
<style> #context_menu { border:1px solid #999; }</style>
'; ?>

<?php endif; ?>